package com.bdth.mixapi.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2019-04-11
 */
@TableName("sys_customer")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户名称
     */
    private String customername;
    /**
     * 负责人
     */
    private String charity;
    /**
     * 联系方式
     */
    private String contact;
    /**
     * 主要邮箱
     */
    private String email;
    /**
     * 用户所属行业
     */
    private Integer industryid;
    /**
     * 用户所属地区
     */
    private Integer areaid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }

    public String getCharity() {
        return charity;
    }

    public void setCharity(String charity) {
        this.charity = charity;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getIndustryid() {
        return industryid;
    }

    public void setIndustryid(Integer industryid) {
        this.industryid = industryid;
    }

    public Integer getAreaid() {
        return areaid;
    }

    public void setAreaid(Integer areaid) {
        this.areaid = areaid;
    }

    @Override
    public String toString() {
        return "Customer{" +
        ", id=" + id +
        ", customername=" + customername +
        ", charity=" + charity +
        ", contact=" + contact +
        ", email=" + email +
        ", industryid=" + industryid +
        ", areaid=" + areaid +
        "}";
    }
}
